package cn.anecansaitin.jep.parser.ast.node.expression;

/// 括号表达式
public final class Grouping extends Expression {
    private final Expression expression;

    public Grouping(Expression expression, int line, int column) {
        super(expression.resultType(), line, column);
        this.expression = expression;
    }

    public Expression expression() {
        return expression;
    }
}